package Control;

import View.Login;
import View.MainMenu;
import javax.swing.UnsupportedLookAndFeelException;

/**
 *
 * @author kiko
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException ex) {
            System.out.println("Erro ao tentar carregar o tema 'Nimbus'");
        }
        Login login = new Login();
        login.setVisible(true);
    }
}
